<style>
	.main_holder { padding: 5px; background: #D5CFC9;font-size:10px;font:sans-serif;font-family:"Lucida Grande", serif;}
	.scorecard { background: #8BC166;margin-bottom:3px;}
	.score_card{background: #8BC166;margin-top:3px;}
	.score_span{font-size:10px;font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;}
</style>
<?php

$feed_url = "http://static.espncricinfo.com/rss/livescores.xml";
//$feed_url = "http://www.xul.fr/rss.xml";

$xml = simplexml_load_file($feed_url);

$count = 8;
if($count > 0) {	
	echo"<div id='main_holder' class='main_holder'>";
}
foreach ($xml->channel->item as $item) {
	if($count > 0) {
	//$score = getTitle($item->guid);

	//in case they have non-closed italics or bold, etc ...
		echo"</i></b></u></a>\n";
		echo"
<div id='scorecard_$count' class='scorecard'>
<b>{$item->title}</b><br />
<input type='checkbox' name='chkUpdate' alt='{$item->title}' id='chkUpdate_$count' onClick='' value='{$item->guid}'/><span style='font-size:9px;'>Full Score</span>
<br />
<span id='full_score_$count' name='score_span' class='score_span'></span>
<br />
</div>";  
	}
	$count--;
}
echo"</div>";



?>
